package com.zjh.menucloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjh.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: MenuMapper
 * Description:
 * @Author zjh
 * @Create 2023/9/28 9:13
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
	List<Menu> findAll(Integer begin, Integer pagesize);
	int count();
	
	Menu findById(Integer id);
	
	void update(Menu menu);
	
	void save(Menu menu);
}
